import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:layout-dashboard',
      order: 1,
      title: '账号管理',
    },
    name: 'AccountManagement',
    path: '/accountManagement',
    children: [
      {
        name: 'Company',
        path: '/company',
        component: () => import('#/views/auto_world/user/company.vue'),
        meta: {
          affixTab: true,
          icon: 'lucide:area-chart',
          title: '公司',
        },
      },
      //   {
      //     name: 'User',
      //     path: '/user',
      //     component: () => import('#/views/auto_world/user/user.vue'),
      //     meta: {
      //       affixTab: true,
      //       icon: 'lucide:area-chart',
      //       title: '用户',
      //     },
      //   },
    ],
  },
];

export default routes;
